export default {
  path: "/scanmg",
  // name: "scanmg",
  // redirect: "/scanmg/scantactics",
  meta: {
    icon: "menu",
    title: "策略管理",
    roles: ["admin"],
    rank: 2
  },
  children: [
    {
      path: "/scanmg/scantactics",
      name: "scantactics",
      component: () => import("@/views/scanmg/scantactics/index.vue"),
      meta: {
        title: "脆弱性配置",
        showLink: true
        // showParent: true
      }
    },
    {
      path: "/scanmg/addtactics",
      name: "addtactics",
      component: () => import("@/views/scanmg/scantactics/addtactics.vue"),
      meta: {
        title: "新建策略",
        showLink: false
        // showParent: true
      }
    },
    {
      path: "/scanmg/addtacticsnew",
      name: "addtacticsnew",
      component: () => import("@/views/scanmg/scantactics/addtacticsnew.vue"),
      meta: {
        title: "新建策略",
        showLink: false
        // showParent: true
      }
    },
    {
      path: "/scanmg/plantask",
      name: "plantask",
      component: () => import("@/views/scanmg/plantask/index.vue"),
      meta: {
        title: "任务发起",
        showLink: true
        // showParent: true
      }
    },
    {
      path: "/scanmg/autosetting",
      name: "autosetting",
      component: () => import("@/views/scanmg/autosetting/index.vue"),
      meta: {
        title: "自动化渗透测试配置",
        showLink: true
        // showParent: true
      }
    },
    {
      path: "/scanmg/pocdeploy",
      name: "pocdeploy",
      component: () => import("@/views/scanmg/pocdeploy/index.vue"),
      meta: {
        title: "poc配置",
        showLink: false
      }
    },
    {
      path: "/scanmg/fingermg",
      name: "fingermg",
      component: () => import("@/views/scanmg/fingermg/index.vue"),
      meta: {
        title: "指纹配置",
        showLink: false
      }
    },
    {
      path: "/scanmg/commandmg",
      name: "commandmg",
      component: () => import("@/views/scanmg/commandmg/index.vue"),
      meta: {
        title: "弱口令配置",
        showLink: false
      }
    }
    // {
    //   path: "/scanmg/keydeploy",
    //   name: "keydeploy",
    //   component: () => import("@/views/scanmg/keydeploy/index.vue"),
    //   meta: {
    //     title: "口令字典配置",
    //     showLink: true
    //   }
    // },
    // {
    //   path: "/scanmg/httpscan",
    //   name: "httpscan",
    //   component: () => import("@/views/scanmg/httpscan/index.vue"),
    //   meta: {
    //     title: "特殊http扫描",
    //     showLink: true
    //   }
    // },
    // {
    //   path: "/scanmg/udpscan",
    //   name: "udpscan",
    //   component: () => import("@/views/scanmg/udpscan/index.vue"),
    //   meta: {
    //     title: "特殊udp扫描",
    //     showLink: true
    //   }
    // }
  ]
} as RouteConfigsTable;
